package com.jiyun.fegin;

import com.jiyun.Result;
import com.jiyun.pojo.day05.Compet;
import com.jiyun.pojo.day05.CompetDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author weiyuanhang
 * @data: 2023/8/23 002319:04
 * @Package cn.jiyun.service
 * @email 3185757326@qq.com
 */
@FeignClient(value = "day12-compet")
public interface ContestFigenService {
    @RequestMapping("/compet/findByCount")
    public Integer findByCount();
    @RequestMapping("compet/findZXAll")
    public Result findZXAll(@RequestBody CompetDTO competDTO);
    @RequestMapping("compet/save1")
    public  Result save(@RequestBody Compet compet);
}